<!DOCTYPE html>
<html>
	<head>
	    <meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=Edge">
		<title>{$pageData.title}</title>
		<link rel="stylesheet" href="__STATIC__/manage/css/admin.css" />
		<link rel="stylesheet" href="__STATIC__/manage/js/layui/css/layui.css" />
		<script type="text/javascript" src="__STATIC__/manage/js/jquery.min.js"></script>
		{include file="inc/script" /}
		<script type="text/javascript" src="__STATIC__/manage/js/public.js"></script>
		<script type="text/javascript" src="__STATIC__/manage/js/layui/layui.js"></script>
	</head>
	<body>
		<div class="right-center height-at">
			<div class="center-tit magin0">{$pageData.title}</div>
			<div class="center-nav">
				<ul>
					<li><a href="javascript:;" data-method="add" class="right-btn center-nav-bnt hov"><i class="iconfont icon-add"></i>添加权限</a></li>
				</ul>
			</div>
			<div class="center-tab magin-topn">
				<table class="layui-table" id="centet-cen" lay-filter="table"></table>
				<script type="text/html" id="barDemo">
					<a class="tab-cz-icon bjicon" lay-event="edit" title="编辑"></a>
					<a class="tab-cz-icon scicon" lay-event="del" title="编辑"></a>
				</script>
			</div>
			<!--<div class="center-tab">
				<form action="{:url('admin.handle/add_auth')}" method="post">
					<p>权限路径<input type="text" name="auth_path"></p>
					<p>权限说明<input type="text" name="auth_name"></p>
					<input type="hidden" name="token" value="{$token}">
					<input type="submit" value="提交">
				</form>
				<div id="result">
					<table>
						<thead>
							<tr>
								<th>权限名称</th>
								<th>权限路径</th>
								<th>权限类型</th>
								<th>公有权限</th>
							</tr>
						</thead>
						<tbody>
						
						</tbody>
					</table>
				</div>
			</div>-->
			
			<div class="paging"></div>
		</div>	
     <!--<script type="text/javascript">
     $(function(){
     	authes();
     })

     function authes(){
     	$.ajax({
     		'type':'post',
     		'dataType':'json',
     		'url':"{:url('admin.api/auth_rows')}",
     		'success':function(data){
     			if(data.code==1){
     				var html = '';
     				$.each(data.data,function(index,value){
     					html += '<tr><td>'+value.auth_name+'</td><td>'+value.auth_path+'</td><td>'+value.type_name+'</td><td>'+value.is_public+'</td></tr>';
     				})
     				$("#result table tbody").html(html);
     			}
     		}
     	})
     }
     </script>-->
     <script>
			//添加
			var addSrc="{:url('admin.handle/add_auth')}";
			//管理组列表
			var listSrc = "{:url('admin.api/auth_rows')}";
			
			var seeSrc="{:url('admin.api/auth_rows')}";
			
			var editSrc="{:url('admin.handle/edit_auth')}";
			
			var delSrc = "{:url('admin.handle/del_auth')}";
	  </script>
	  <script type="text/javascript" src="__STATIC__/manage/js/admin/show/auth.js"></script>
</body>
</html>